package com.baway.home.repo

import com.bw.lib_common.model.BaseRepository
import com.bw.lib_http.OkHttpClientManager
import com.bw.module_home.api.MsgApiServer


class MsgRepo: BaseRepository<MsgApiServer>() {

    override fun createApiServer(): MsgApiServer = OkHttpClientManager.retrofitInstance.create(MsgApiServer::class.java)

    suspend fun getMsgList(accessId:String,userId:Int) = apiService.getMsgList(accessId, userId)

}